package com.lfz.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lfz.demo.entity.Notice;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;

/**
 * @author lfz
 * @date 2025/3/26 14:32
 */
public interface NoticeService extends IService<Notice> {
    Page<Notice> findByPage(Specification<Notice> spec, Pageable pageable);

    List<Notice> listByStatusLimit3();

    List<Notice> partNoticeListDesc();
}
